<template>
    <view class="invalidOrder">
        <uni-nav-bar fixed left-icon="left" title="客户名称" @clickLeft="backHandle" class="unibarS">
        </uni-nav-bar>
        <!-- 主要内容 -->
        <view class="invalidOrder-content">
            <!-- 任务信息 -->
            <view class="customer-info">
                <view class="customer-row" style="margin-bottom: 40rpx;">
                    <view class="item">
                        <view>订单编号</view>
                        <view>FJ2255120</view>
                    </view>
                    <view class="item">
                        <view>归属人员</view>
                        <view>赵小刚</view>
                    </view>
                    <view class="item">
                        <view>下次跟进</view>
                        <view>2021-05-08</view>
                    </view>
                </view>
                <view class="customer-row">
                    <view class="item">
                        <view>订单总金额</view>
                        <view>¥10,000.00</view>
                    </view>
                    <view class="item">
                        <view>已回款金额</view>
                        <view>¥10,000.00</view>
                    </view>
                    <view class="item">
                        <view>未回款金额</view>
                        <view>¥10,000.00</view>
                    </view>
                </view>
            </view>
            <Trends ref="trends"></Trends>
        </view>
        <!-- 底部 -->
        <view class="bottom-box">
            <template>
                <view class="row-box">
                    <u-icon name="photo" color="#0C1019" size="22"></u-icon>
                    <text>编辑订单</text>
                </view>
            </template>
        </view>
    </view>
</template>

<script>
import Trends from '@/pages/crm/customer/components/trends'
export default {
    components: {
        Trends
    },
    data() {
        return {

        }
    },
    methods: {
        backHandle() {
            uni.navigateBack()
        }
    }
}
</script>

<style lang="scss" scoped>
.invalidOrder-content {
    margin: 20rpx 0;
    padding-bottom: 60px;
    .customer-info {
        border-radius: 24rpx;
        background: rgba(255, 255, 255, 1);
        padding: 32rpx 0;
        margin-bottom: 32rpx;

        .customer-row-title {
            padding: 0 32rpx;
            text-align: center;
            // 超出隐藏
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .customer-row {
            display: flex;
            justify-content: space-between;
            text-align: center;

            .item {
                flex: 1;

                > :nth-child(1) {
                    font-size: 28rpx;
                    font-weight: 400;
                    color: rgba(103, 117, 133, 1);
                    margin-bottom: 8rpx;
                }

                > :nth-child(2) {
                    font-size: 32rpx;
                    font-weight: 500;
                    color: rgba(12, 16, 25, 1);
                }
            }
        }
    }
}
.bottom-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 12rpx rgba(0, 0, 0, 0.1);
    // padding: 32rpx 0;
    height: 44px;

    .row-box {
        display: flex;
        align-items: center;
    }
    .column-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    text {
        font-size: 28rpx;
        font-weight: 500;
        color: rgba(12, 16, 25, 1);
        margin-left: 8rpx;
    }

}
</style>